package com.aaa.system.dao;

import com.aaa.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: aaa-education-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-03-08 11:00
 **/
public interface RoleDao  extends BaseMapper<Role> {
    List<String> selectByUserId(String userId);

    void deleteByUserId(String userId);

    void batchInsert(@Param("userId") String userId,@Param("roleIds") String[] roleIds);
}
